package com.coderfans.datacsdn.model;

import com.coderfans.pageprocessor.model.IModel;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;

/**
 * Created by ${fanchunshuai} on 2017-7-11.
 *
 * @version: V1.0
 * @Desc:
 * @Copyright (c) 2017 58到家-版权所有
 */
public class CsdnUserLinkModel extends IModel{
    /** 序号 **/
    private  Long id;

    /** 用户基础表id **/
    private  Long csdnUserId;

    /** 面板主题 **/
    private  String panelTitle;

    /** 图片链接 **/
    private  String imgLinks;

    /** 超链接 **/
    private  String hrefLinks;

    /** 面板内容 **/
    private  String panelInfo;

    public Long getId (){ return id; }
    public void  setId(Long id) { this.id = id;}

    public Long getCsdnUserId (){ return csdnUserId; }
    public void  setCsdnUserId(Long csdnUserId) { this.csdnUserId = csdnUserId;}

    public String getPanelTitle (){ return panelTitle; }
    public void  setPanelTitle(String panelTitle) { this.panelTitle = panelTitle;}

    public String getImgLinks (){ return imgLinks; }
    public void  setImgLinks(String imgLinks) { this.imgLinks = imgLinks;}

    public String getHrefLinks (){ return hrefLinks; }
    public void  setHrefLinks(String hrefLinks) { this.hrefLinks = hrefLinks;}

    public String getPanelInfo (){ return panelInfo; }
    public void  setPanelInfo(String panelInfo) { this.panelInfo = panelInfo;}

    @Override
    public Map<String, String> getXpathMap() {
        Map<String,String> spiderModelMap =  new HashMap<>();
        spiderModelMap.put("panelTitle","//a/@href");


        return spiderModelMap;
    }
}
